package com.skywolf.chem;

import com.skywolf.chem.common.config.data.DynamicDataSourceConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @ClassName Application.java
 * @Author Leo
 * @Version 1.0.0
 * @Description 启动类
 * @CreateTime 2019年11月20日 17:59:00
 */
@Import({DynamicDataSourceConfig.class})
@EnableAsync
@EnableScheduling
@SpringBootApplication(exclude=DataSourceAutoConfiguration.class)
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
